export default {
    setChange(state,routerName){
        switch (routerName) {
            case "Day":
                state.headerTitle="当天信息";
                break;
            case "Month":
                state.headerTitle="近期假期";
                break;
            case "Year":
                state.headerTitle="当年假期";
                break;
            default:
                state.headerTitle="当天信息";
                break;
        }
    }
}